
<div class="ibox">
     <div class="ibox-title">
        <h5>影片播放记录</h5>
    </div>
<div class="ibox-content fadeInUp animated">
                
<!-- 表单搜索 开始 -->
<form class="animated form-search" action="resource/playLog" onsubmit="return false" method="get" data-search>

    <div class="row">
        <div class="col-xs-3">
            <div class="form-group">
                <input type="text" name="title" value="${search_title!''}" placeholder="影片名称"
                       class="input-sm form-control">
            </div>
        </div>

        <div class="col-xs-3">
            <div class="form-group">
                <input type="text" name="login" value="${search_login!''}" placeholder="用户账号"
                       class="input-sm form-control">
            </div>
        </div>

        <div class="col-xs-1">
            <div class="form-group">
            	<input type='hidden' value='1' name='page'/>
                <button type="submit" class="btn btn-sm btn-white"><i class="fa fa-search"></i> 搜索</button>
            </div>
        </div>
    </div>
</form>
<!-- 表单搜索 结束 -->

<form onsubmit="return false;" data-auto="" method="POST">
    <input type="hidden" value="resort" name="action"/>
    <table class="table table-hover">
        <thead>
            <tr>
                <th class='text-center'>ID</th>
                <th class='text-center'>影片名称</th>
                <th class='text-center'>图片</th>
                <th class='text-center'>播放状态</th>
                <th class='text-center'>播放类型</th>
                <th class='text-center'>播放时间</th>
                <th class='text-center'>用户账号</th>
                <th class='text-center'>用户昵称</th>
            </tr>
        </thead>
        <tbody>
        <#list page.data as log>
       
                <tr>
                <td class='text-center'>${log.logId?c}</td>
                <td class='text-center'>${log.title!""}</td>
                <td class='text-center'>
                	<img data-tips-image="" style="height:auto;max-height:32px;min-width:32px" src="${log.img!''}"/>
                </td>
                <#if log.play_status==0>
                <td class='text-center'><span style="color:#090">等待</span></td>
                <#elseif log.play_status==1>
                <td class='text-center'><span style="color:#090">播放中</span></td>
                <#elseif log.play_status==2>
                <td class='text-center'><span style="color:#090">停止</span></td>
                <#else>
                <td class='text-center'><span style="color:#090">结束</span></td>
                </#if>
                <#if log.play_type==1>
                <td class='text-center'><span style="color:#090">点播</span></td>
                <#elseif log.play_type==2>
                <td class='text-center'><span style="color:#090">盒子</span></td>
                <#else>
                <td class='text-center'><span style="color:#090">手机</span></td>
                </#if>
                <td class='text-center'>${log.create_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td class='text-center'><span style="color:#090">${log.login!''}</span></td>
                <td class='text-center'>${log.uname!"<span style='color:#ccc'>还没有设置昵称</span>"}</td>
            </tr>
            </#list>
                    </tbody>
    </table>
 <p>
 
 <ul class="pagination pull-right"> 
 	<#import "/common/page.html" as p> 
  	<@p.page data=page url="resource/playLog" search_param=search_param />
</ul>
 
 </p>
 
 
 </form>

    </div>  
</div>
